Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1552: Deserializer should use definition to map schema in a response #1554

Closed
wants to merge 1 commit into from

Conversation

fuzails
Copy link

@fuzails fuzails commented Apr 14, 2021

Currently Schema attached to a response goes through the default jackson BeanSerializer. This lead to the schema being mapped incorrectly and properties of the schema are removed.

This PR fixes that by reusing the io.swagger.parser.util.SwaggerDeserializer#definition API to correctly deserialize a schema within a response. See #1552

@fuzails
Copy link
Author

fuzails commented Apr 14, 2021

Link to defect #1552

@gracekarina
Copy link
Contributor

Hi @fuzails thanks for the PR, as mentioned in #1541 this seems to be a duplicate of the PR already merge.
Please let us know if this is no longer an issue by closing the PR, or if it's still an issue, I'll be happy to help.
Thanks!.

@gracekarina
Copy link
Contributor

Closing due to posible duplicate, please reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants